import { IntersectionType, PartialType } from "@nestjs/mapped-types";
import { IsUserName } from "../../dto/user-base-dto";
import { IsDate, IsOptional } from "class-validator";
import { Type } from "class-transformer";
import { PageSize } from "../../dto/all-dto";

export class FindUserDTO extends IntersectionType(IsUserName,PageSize){

  @IsOptional()
  realName?: string;

  @IsOptional()
  status?: string;

  @IsOptional()
  phone?: string;
}